<%--
  Created by IntelliJ IDEA.
  User: 13377
  Date: 2021/3/6
  Time: 15:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="java.util.List" %>
<%@ page import="com.cn.entity.UserInfo" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>登录</title>
    <link rel="stylesheet" href="css/bootstrap.min.css"/>
    <link rel="stylesheet" href="css/web.css"/>
    <link rel="shortcut icon" href="<%=request.getContextPath()%>/img/logo2.png" type="image/x-icon">
</head>
<body  style="background-image:url(img/bg3.jpg);background-position: center;background-size: cover; ">
<%
    Object message = request.getAttribute("message");
    if (message != null && message!=""){
%>
<script type="text/javascript">
    alert("<%=message%>")
</script>
    <%}%>
<%request.setAttribute("message","");%>
<div class="login" >
    <div class="col-lg-offset-4 col-md-offset-4 col-sm-offset-4 col-lg-4 col-md-4 col-sm-4" style="height: 300px;  border-radius: 5px; background-color: #EFEFEF; padding-top: 50px; padding-bottom: 15px">
        <form action="login" method="post">
            <div class="form-list">
                <label class="control-label" for="txt_userId">用户名</label>
                <div class="input-group">
                        <span class="input-group-addon">
                            <span class="glyphicon glyphicon-user"></span>
                        </span>
                    <input class="form-control" id="txt_userId" name="username" type="text" size="16" value="" style="background-color: white"  placeholder="User ID" required/>
                </div>
            </div>
            <div class="form">
                <label class="control-label" for="txt_password">密码</label>
                <div class="input-group">
                        <span class="input-group-addon">
                            <span class="glyphicon glyphicon-lock"></span>
                        </span>
                    <input class="form-control" id="txt_password" name="password" type="password" size="16" value="" style="background-color: white"  placeholder="Password" required/>
                </div>
            </div>
            <div class="form-group" style="margin-top: 30px">
                <input class="form-control btn btn-success" name="submit" type="submit" value="登录"/>
                <a href="register.jsp" style="float: right">现在注册>></a>
            </div>
        </form>
    </div>
</div>
</body>
</html>


